package com.google.shop.product.vo.order;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
//import org.apache.commons.configuration.tree.DefaultExpressionEngine;

/* loaded from: app.jar:BOOT-INF/classes/com/google/shop/product/vo/order/OrderHeaderInfoVO.class */
public class OrderHeaderInfoVO implements Serializable {
    private String orderId;
    @JsonProperty("payStatus")
    private Integer orderStatus;
    private String createTime;
    private BigDecimal orderAmount;

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    @JsonProperty("payStatus")
    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }

    @Override // java.lang.Object
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof OrderHeaderInfoVO)) {
            return false;
        }
        OrderHeaderInfoVO other = (OrderHeaderInfoVO) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$orderStatus = getOrderStatus();
        Object other$orderStatus = other.getOrderStatus();
        if (this$orderStatus == null) {
            if (other$orderStatus != null) {
                return false;
            }
        } else if (!this$orderStatus.equals(other$orderStatus)) {
            return false;
        }
        Object this$orderId = getOrderId();
        Object other$orderId = other.getOrderId();
        if (this$orderId == null) {
            if (other$orderId != null) {
                return false;
            }
        } else if (!this$orderId.equals(other$orderId)) {
            return false;
        }
        Object this$createTime = getCreateTime();
        Object other$createTime = other.getCreateTime();
        if (this$createTime == null) {
            if (other$createTime != null) {
                return false;
            }
        } else if (!this$createTime.equals(other$createTime)) {
            return false;
        }
        Object this$orderAmount = getOrderAmount();
        Object other$orderAmount = other.getOrderAmount();
        return this$orderAmount == null ? other$orderAmount == null : this$orderAmount.equals(other$orderAmount);
    }

    protected boolean canEqual(Object other) {
        return other instanceof OrderHeaderInfoVO;
    }

    @Override // java.lang.Object
    public int hashCode() {
        Object $orderStatus = getOrderStatus();
        int result = (1 * 59) + ($orderStatus == null ? 43 : $orderStatus.hashCode());
        Object $orderId = getOrderId();
        int result2 = (result * 59) + ($orderId == null ? 43 : $orderId.hashCode());
        Object $createTime = getCreateTime();
        int result3 = (result2 * 59) + ($createTime == null ? 43 : $createTime.hashCode());
        Object $orderAmount = getOrderAmount();
        return (result3 * 59) + ($orderAmount == null ? 43 : $orderAmount.hashCode());
    }

//    @Override // java.lang.Object
//    public String toString() {
//        return "OrderHeaderInfoVO(orderId=" + getOrderId() + ", orderStatus=" + getOrderStatus() + ", createTime=" + getCreateTime() + ", orderAmount=" + getOrderAmount() + DefaultExpressionEngine.DEFAULT_INDEX_END;
//    }

    public String getOrderId() {
        return this.orderId;
    }

    public Integer getOrderStatus() {
        return this.orderStatus;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public BigDecimal getOrderAmount() {
        return this.orderAmount;
    }
}
